package advanced.network.basic_servlet;

/**
 * 手写实验servlet的功能, 理解servlet的处理流程
 */
public class LoginServlet implements Servlet {
    @Override
    public void service(Request request, Response response) {

        //创建返回的内容
        String content = "欢迎回来" + request.getParameter("uname");
        response.push2Brower(200, content);
    }
}
